Skip to content

ci(scorecard): add job-level permissions for reusable workflow#37

Merged
hyperpolymath merged 2 commits into
mainfrom
chore/scorecard-job-level-perms-282
Jun 22, 2026
Merged

ci(scorecard): add job-level permissions for reusable workflow#37
hyperpolymath merged 2 commits into
mainfrom
chore/scorecard-job-level-perms-282

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The scorecard-reusable.yml reusable requires the calling analysis job to declare security-events: write and id-token: write — called-workflow permissions are CAPPED by the caller's block (the reusable docstring states this explicitly).

Without this, every Scorecard run silently fails with startup_failure because ossf/scorecard-action cannot upload SARIF.

Estate-wide sweep tracked at hyperpolymath/standards#282; same pattern as julia-professional-registry#19 (2026-05-27) and absolute-zero#68 (2026-05-30).

Refs hyperpolymath/standards#282

The `scorecard-reusable.yml` reusable requires the calling `analysis` job
to declare `security-events: write` and `id-token: write` — called-workflow
permissions are CAPPED by the caller's block (the reusable docstring
states this explicitly).

Without this, every Scorecard run silently fails with `startup_failure`
because ossf/scorecard-action cannot upload SARIF.

Estate-wide sweep tracked at hyperpolymath/standards#282; same pattern as
julia-professional-registry#19 (2026-05-27) and absolute-zero#68
(2026-05-30).

Refs hyperpolymath/standards#282

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath enabled auto-merge (squash) June 22, 2026 19:36
@hyperpolymath hyperpolymath disabled auto-merge June 22, 2026 19:36
@hyperpolymath hyperpolymath enabled auto-merge (squash) June 22, 2026 19:56
@hyperpolymath hyperpolymath disabled auto-merge June 22, 2026 20:31
@hyperpolymath hyperpolymath enabled auto-merge (squash) June 22, 2026 20:51
@hyperpolymath hyperpolymath disabled auto-merge June 22, 2026 21:55
@hyperpolymath hyperpolymath merged commit 792990a into main Jun 22, 2026
13 of 22 checks passed
@hyperpolymath hyperpolymath deleted the chore/scorecard-job-level-perms-282 branch June 22, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant